package com.xuxin.baby.activity;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.blankj.utilcode.util.AppUtils;
import com.xuxin.baby.R;
import com.xuxin.baby.base.BaseActivity;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * Created by xu_xin
 * Created on 2020/12/2 0002
 * 设置关于
 */
public class SettingAboutActivity extends BaseActivity {
    @BindView(R.id.title_left)
    ImageView title_left;
    @BindView(R.id.title_right)
    ImageView title_right;
    @BindView(R.id.title_name)
    TextView title_name;
    @BindView(R.id.setting_about_version)
    TextView setting_about_version;

    @Override
    public void setContentView() {
        setContentView(R.layout.activity_setting_about);
    }

    @Override
    public void initView() {
        String version = "V " + AppUtils.getAppVersionName();
        setting_about_version.setText(version);
    }

    @Override
    public void initData() {

    }

    @Override
    public void onComplete() {

    }

    @Override
    @OnClick({R.id.title_left})
    public void onClick(View view) {
        int id = view.getId();
        if (id == R.id.title_left) {
            finish();
        }
    }
}